package com.rpj.entity;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

@Entity
@Table(name = "teachers")
@JsonIgnoreProperties(value = {"hibernateLazyInitializer","handler"})
public class TeaEntity {
	@Id
	private String teaid;//��ʦid
	private String teaname;//��ʦ����
	private String teapassword;//��ʦ����
	private String teadept;//��ʦ���ڲ���
	private String teaborrowmaxnum;//���ɽ�������
	private String teaborrowbooknum;//�ѽ�������
	private String teagivebooknum;//�ѻ�������
	private String status;//0:ѧ��  1:��ʦ
	private String data1;//性别
	private String data2;//借书时间
	private String data3;//还书时间
	public String getTeaid() {
		return teaid;
	}
	public void setTeaid(String teaid) {
		this.teaid = teaid;
	}
	public String getTeaname() {
		return teaname;
	}
	public void setTeaname(String teaname) {
		this.teaname = teaname;
	}
	public String getTeapassword() {
		return teapassword;
	}
	public void setTeapassword(String teapassword) {
		this.teapassword = teapassword;
	}
	public String getTeadept() {
		return teadept;
	}
	public void setTeadept(String teadept) {
		this.teadept = teadept;
	}
	public String getTeaborrowmaxnum() {
		return teaborrowmaxnum;
	}
	public void setTeaborrowmaxnum(String teaborrowmaxnum) {
		this.teaborrowmaxnum = teaborrowmaxnum;
	}
	public String getTeaborrowbooknum() {
		return teaborrowbooknum;
	}
	public void setTeaborrowbooknum(String teaborrowbooknum) {
		this.teaborrowbooknum = teaborrowbooknum;
	}
	public String getTeagivebooknum() {
		return teagivebooknum;
	}
	public void setTeagivebooknum(String teagivebooknum) {
		this.teagivebooknum = teagivebooknum;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getData1() {
		return data1;
	}
	public void setData1(String data1) {
		this.data1 = data1;
	}
	public String getData2() {
		return data2;
	}
	public void setData2(String data2) {
		this.data2 = data2;
	}
	public String getData3() {
		return data3;
	}
	public void setData3(String data3) {
		this.data3 = data3;
	}
	public TeaEntity(String teaid, String teaname, String teapassword, String teadept, String teaborrowmaxnum,
			String teaborrowbooknum, String teagivebooknum, String status, String data1, String data2, String data3) {
		super();
		this.teaid = teaid;
		this.teaname = teaname;
		this.teapassword = teapassword;
		this.teadept = teadept;
		this.teaborrowmaxnum = teaborrowmaxnum;
		this.teaborrowbooknum = teaborrowbooknum;
		this.teagivebooknum = teagivebooknum;
		this.status = status;
		this.data1 = data1;
		this.data2 = data2;
		this.data3 = data3;
	}
	public TeaEntity() {
		super();
		// TODO Auto-generated constructor stub
	}
	@Override
	public String toString() {
		return "TeaEntity [teaid=" + teaid + ", teaname=" + teaname + ", teapassword=" + teapassword + ", teadept="
				+ teadept + ", teaborrowmaxnum=" + teaborrowmaxnum + ", teaborrowbooknum=" + teaborrowbooknum
				+ ", teagivebooknum=" + teagivebooknum + ", status=" + status + ", data1=" + data1 + ", data2=" + data2
				+ ", data3=" + data3 + "]";
	}

}